package com.yxinsur.imc.business.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@ToString
public class OrderEndCancelSuspensionDto {
    private static final long serialVersionUID = 1L;

    @NotBlank(message="保单状态[orderStatus]不能为空")
    private String orderStatus;


    @NotBlank(message="保单号[policyCode]不能为空")
    private String policyCode;


    //租户key，不可重复
    @NotBlank(message="租户KEY[tenantKey]不能为空")
    private String tenantKey;

    //中止时间
    @ApiModelProperty("中止时间")
    private Date suspensionDate;

    //中止原因
    @ApiModelProperty("中止原因")
    private String suspensionCause;


    /** 终止日期 */
    @ApiModelProperty("终止日期")
    private Date endDate;

    /** 备注 */
    @ApiModelProperty("备注")
    private String endCauseNote;

    /** 终止原因 */
    @ApiModelProperty("终止原因")
    private String endCause;

    /** 撤销原因 */
    @ApiModelProperty("撤销原因")
    private String cancelCauseNote;


}
